package com.platform.qujia.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Auther: zxy
 * @Date: 2023/11/9 12:08
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class newCarWashPaymetDto {

    @ApiModelProperty(value = "优惠券核销码")
    @NotEmpty(message = "核销码不能为空")
    private String couponNo;

    /**
     * 油站id
     */
    @ApiModelProperty(value = "油站id", example = "235")
    @NotNull(message = "油站id不能为空")
    private Integer stationId;

    /**
     * 加油员id
     */
    @ApiModelProperty(value = "加油员id", example = "3")
    @NotEmpty(message = "用户id不能为空")
    private String oilPersonnelId;

}
